package com.momo.hotel.dao.mapping.ext;

import com.momo.hotel.dao.pojo.TbUser;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TbUserMapperExt extends Mapper<TbUser> {
    //检查用户名
    List<TbUser> checkUsername(TbUser user);

    //检查用户名
    TbUser loginUser(TbUser user);
    //获取用户
    TbUser loginUserByUserName(String username);
    //添加用户
    Integer addUser(TbUser user);
    //用户信息修改
    Integer uploadUser(TbUser tbUser);
}